export interface RouterConfig {
  path: string;
  redirect?: string;
  component?: any;
  models?: string[];
  needLogin?: boolean;
  children?: Array<RouterConfig>;
}

const config: Array<RouterConfig> = [
  {
    path: '/',
    component: () => import('@/layouts/BlogLayout'),
    children: [
      {
        path: '/test',
        component: () => import('@/routes/TestPage')
      },
      {
        path: '/test2',
        component: () => import('@/routes/TestPage')
      }
    ]
  }
];

export default config;
